package my.app.timer;

import com.google.android.youtube.player.YouTubePlayerView;

import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

public class MyFragment extends Fragment {
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		Context context = getActivity().getApplicationContext();
		LinearLayout layout = new LinearLayout(context);
		layout.setBackgroundColor(Color.BLUE);
		TextView text = new TextView(context);
		text.setText("GGGGG");
		//YouTubePlayerView ytp = new YouTubePlayerView(new FragmentDemoActivity());
		layout.addView(text);
		//layout.addView(ytp);
		return layout;
	}
}